//
//  HNActionFlowCenter.h
//  HeroNuts
//
//  Created by Magic on 4/2/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HNActor.h"
#import "HNLogicPosition.h"


enum {kStageMove,kStageTurnToEnemy,kStageAttack,kStageRestoreFacing};

@interface HNActionFlowCenter : NSObject {
	NSMutableArray* actions_;
    int stages_[4];
    int currentStage_;
    int stageCount_;
    int currentAction_;
    
    HNLogicPosition *targetPosition_;
    HNActor *targetActor_;
}

@property (nonatomic,retain) HNLogicPosition *targetPosition;
@property (nonatomic,retain) HNActor *targetActor;

+ (HNActionFlowCenter*) sharedActionFlowCenter;

//-(void) startNewTurnForActor:(HNActor*)actor moveTo:(HNLogicPosition*)pos attack:(HNActor*)enemy;
- (void)currentActorMoveTo:(HNLogicPosition *)position attack:(HNActor *)target;
- (void)currentActorShootAt:(HNActor*)target;

@end
